package com.aispeech.task.api.controller;

import com.aispeech.task.api.controller.base.Base;
import com.aispeech.task.common.data.vo.response.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/public")
public class Public extends Base {
    @GetMapping
    public Result index() {
        return Result.ok("public path.");
    }
}
